package cn.iocoder.yudao.module.handguard.convert.applicationrecord;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.handguard.controller.app.applicationrecord.vo.*;
import cn.iocoder.yudao.module.handguard.dal.dataobject.applicationrecord.ApplicationRecordDO;

/**
 * 用户申请贷款表（申请通过创建订单） Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface ApplicationRecordConvert {

    ApplicationRecordConvert INSTANCE = Mappers.getMapper(ApplicationRecordConvert.class);

    ApplicationRecordDO convert(ApplicationRecordCreateReqVO bean);

    ApplicationRecordDO convert(ApplicationRecordUpdateReqVO bean);

    ApplicationRecordRespVO convert(ApplicationRecordDO bean);

    List<ApplicationRecordRespVO> convertList(List<ApplicationRecordDO> list);

    PageResult<ApplicationRecordRespVO> convertPage(PageResult<ApplicationRecordDO> page);

    List<ApplicationRecordExcelVO> convertList02(List<ApplicationRecordDO> list);

}
